package com.hirsi.module.role.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("编辑角色参数")
@Data
public class EditRoleVo {

    @ApiModelProperty("角色id，更新时传入")
    private Integer id;

    @ApiModelProperty(value = "角色编码", required = true, position = 1)
    private String code;

    @ApiModelProperty(value = "角色名称", required = true, position = 2)
    private String name;

    @ApiModelProperty(value = "是否超级管理员：true-是，false-否", required = true, position = 3)
    private Boolean isSuper;

    @ApiModelProperty(value = "状态：0-正常，1-禁用", required = true, position = 4)
    private Integer status;
}
